#ifndef __UP_EXTI_H
#define __UP_EXTI_H
#include "UP_config.h"

extern void EXTI_init_with_priority(UP_GPIO uc_gpio,
                      unsigned char nvic_irq_pre_priority,
                      unsigned char nvic_irq_sub_priority);

extern void EXTI_init(UP_GPIO uc_gpio);

extern void EXTI_isr_handler(unsigned char exti_line_num);

#endif // !__UP_EXTI_H
